import request from '@/config/axios'

export interface TagVO {
  id: number
  name: string
}
export const getMemberPage = async (data) => {
  return await request.post({ url: `/written-exam/member/page`, data: data })
}


export const getMemberWithdrawPage = async (data) => {
  return await request.post({ url: `/member/user-withdraw/page`, data: data })
}
export const getMemberWithdrawStatistics = async () => {
  return await request.get({ url: `/member/user-withdraw/statistics`})
}
export const memberUpdateStatus = async (data) => {
  return await request.put({ url: `/member/user-withdraw/update-status`, data: data })
}


export const getMemberPromotionPage = async (data) => {
  return await request.post({ url: `/member/user-promotion-records/page`, data: data })
}


export const getMemberWrittenPage = async (data) => {
  return await request.post({ url: `/written-exam/user-written-exam-records/page`, data: data })
}

export const getMemberWrittenDetailPage = async (data) => {
  return await request.post({ url: `/written-exam/user-written-exam-records-detail/page`, data: data })
}

